package com.oracle.service;

import com.oracle.pojo.User;

import java.util.List;

public interface UserService {
    List<User> getAllUsers(String keyName,int rid);
    User login(String userCode,String userPassword);
    boolean addUser(User user);
    int findUserCountByUserCode(String userCode);
    User findUserById(int id);
    boolean updateUser(User user);
    boolean deleteUserById(int id);


}
